﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace EssentialWebFramework.Models.LogModels
{
    /// <summary>
    /// 访问日志
    /// </summary>
    public class LogAccess
    {
        /// <summary>
        /// 用户 id
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 访问路径（含 query）
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 入参
        /// </summary>
        public string RequestParams { get; set; }
        /// <summary>
        /// 返回的状态码
        /// </summary>
        public string ResultCode { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
